Skip to content

Conversation

@ekjotmultani
Copy link
Member

@ekjotmultani ekjotmultani commented Aug 18, 2025

  • PR title and description conform to Pull Request guidelines.

Issue #, if available:
#3097

Description of changes:
Updated the refresh action in the auth package to use the new GetTokensFromRefreshToken API to enable the rotation of refresh tokens if the associated Cognito user pool is set up to do so

How did you test these changes?
Added unit tests

Documentation update required?

  • No
  • Yes
    todo

General Checklist

  • Added Unit Tests
  • Added Integration Tests
  • Security oriented best practices and standards are followed (e.g. using input sanitization, principle of least privilege, etc)
  • Ensure commit message has the appropriate scope (e.g fix(storage): message, feat(auth): message, chore(all): message)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov
Copy link

codecov bot commented Aug 19, 2025

Codecov Report

❌ Patch coverage is 40.00000% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.24%. Comparing base (bc95c89) to head (1dbde13).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3112      +/-   ##
==========================================
+ Coverage   54.22%   54.24%   +0.01%     
==========================================
  Files        1038     1038              
  Lines       32002    31991      -11     
  Branches     4704     4700       -4     
==========================================
  Hits        17353    17353              
+ Misses      12800    12796       -4     
+ Partials     1849     1842       -7     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ekjotmultani ekjotmultani marked this pull request as ready for review August 19, 2025 19:22
@ekjotmultani ekjotmultani requested a review from a team as a code owner August 19, 2025 19:22
@ekjotmultani ekjotmultani changed the title updated refresh token action to use GetTokensFromRefreshToken API ins… feat(auth): Refresh Token Rotation Aug 19, 2025
@mattcreaser mattcreaser mentioned this pull request Aug 24, 2025
1 task
@mattcreaser mattcreaser enabled auto-merge (squash) August 25, 2025 16:12
@mattcreaser mattcreaser merged commit 3f72bcb into main Aug 26, 2025
16 of 17 checks passed
@mattcreaser mattcreaser deleted the ekjotmultani/refresh-token-rotation branch August 26, 2025 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants